For builds that do not have PangoFT2, the demo fails to link because we weren't
building listview_ucd.c. Fix the build by building listview_ucd.c with
script-names.c and unicode-names.c for all builds, as we now require a Pango
version that already always depends on HarfBuzz and those sources do not use
anything from PangoFT2.
'listview_filebrowser.c',
'listview_minesweeper.c',
'listview_settings.c',
+ 'listview_ucd.c',
'listview_weather.c',
'listview_words.c',
'markup.c',
'four_point_transform.c',
'demo2widget.c',
'demo3widget.c',
- 'pixbufpaintable.c'])
+ 'pixbufpaintable.c',
+ 'script-names.c',
+ 'unicode-names.c'])
if harfbuzz_dep.found() and pangoft_dep.found()
- demos += files(['font_features.c', 'listview_ucd.c'])
- extra_demo_sources += files(['script-names.c', 'language-names.c', 'unicode-names.c'])
+ demos += files(['font_features.c'])
+ extra_demo_sources += files(['language-names.c'])
gtkdemo_deps += [ harfbuzz_dep, epoxy_dep ]
endif